<%@page import="com.bill.common.system.dto.SingleGroupReportStatDTO"%>
<%@page import="java.util.List"%>
<%@page import="java.util.Map"%>
<%@page import="java.text.SimpleDateFormat"%>
<%@page import="com.bill.common.system.dto.TransactionRecordDTO"%>
<%@page import="com.bill.common.system.service.ITransactionRecordService"%>
<%@page import="org.springframework.web.context.support.WebApplicationContextUtils"%>
<%@page import="org.springframework.context.ApplicationContext"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    
<%
    ApplicationContext ac = WebApplicationContextUtils.getWebApplicationContext(getServletContext());
    ITransactionRecordService transactionRecordService = (ITransactionRecordService)ac.getBean("transactionRecordService");
    TransactionRecordDTO trDTO = new TransactionRecordDTO();
    trDTO.setTransactionTypes(new String[]{"财务充值"});
    List<SingleGroupReportStatDTO> groupReportStatDTO = transactionRecordService.statRecharge(trDTO);
    request.setAttribute("groupReportStatDTO",groupReportStatDTO);
    
    trDTO.setSearchType("todaySearch");
    List<SingleGroupReportStatDTO> groupReportStatDTO1 = transactionRecordService.statRecharge(trDTO);
    request.setAttribute("groupReportStatDTO1",groupReportStatDTO1);
    
%>
    
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
当天充值总数：${groupReportStatDTO1[0].aggField }

<br>

总的充值总数：${groupReportStatDTO[0].aggField }
</body>
</html>